package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 ry_servants_mm
 * 
 * @author ruoyi
 * @date 2024-09-24
 */
public class RyServantsMm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务人员id */
    private Long id;

    /** 服务人员姓名 */
    @Excel(name = "服务人员姓名")
    private String name;

    /** 服务人员电话 */
    @Excel(name = "服务人员电话")
    private String number;

    /** 服务人员邮箱 */
    @Excel(name = "服务人员邮箱")
    private String emil;

    /** 服务人员密码 */
    @Excel(name = "服务人员密码")
    private String password;

    /** 服务人员注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务人员注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 服务人员上次登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务人员上次登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date login;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setEmil(String emil) 
    {
        this.emil = emil;
    }

    public String getEmil() 
    {
        return emil;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setLogin(Date login) 
    {
        this.login = login;
    }

    public Date getLogin() 
    {
        return login;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("number", getNumber())
            .append("emil", getEmil())
            .append("password", getPassword())
            .append("date", getDate())
            .append("login", getLogin())
            .toString();
    }
}
